package com.sensetime.jv.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class LoginUser {

    private UsersJv user;
    private List<PermissionsJv> permissions;
    private List<RolesJv> roles;


    public LoginUser(UsersJv user, List<PermissionsJv> permissions,List<RolesJv> roles) {
        this.user = user;
        this.permissions = permissions;
        this.roles = roles;
    }
}